#include <iostream>
using namespace std;
int main()
{
    int a,b,c;
    cout<<"请输入a的体重:"<<endl;
    cin>>a;
    cout<<"请输入b的体重:"<<endl;
    cin>>b;
    cout<<"请输入c的体重:"<<endl;
    cin>>c;
    if(a>b){
        if(a>c){
            cout<<"a最重"<<endl;
        }
        else{
            cout<<"c最重"<<endl;
        }
    }
    else{
        if(b>c){
            cout<<"b最重"<<endl;
        }
        else{
            cout<<"c最重"<<endl;
        }
    }
    return 0;
}